using MediatR;
using ERP.Requst;

namespace B.S.Data.ERP.API.Applications.DingDanCommands
{
    /// <summary>
    /// 更新订单命令
    /// </summary>
    public class UpdateDingDanCommand : IRequest<APIRequust<int>>
    {
        public string ShopName { get; set; }
        /// <summary>
        /// 主键ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string DingDanBianHao { get; set; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public int KeHuId { get; set; }

        /// <summary>
        /// 订单日期
        /// </summary>
        public DateTime DingDanRiQi { get; set; }

        /// <summary>
        /// 订单金额
        /// </summary>
        public decimal ZongJinE { get; set; }

        /// <summary>
        /// 订单状态（0：待处理，1：已确认，2：已完成，3：已取消）
        /// </summary>
        public int ZhuangTai { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string BeiZhu { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdateName { get; set; }
    }
}